<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="../css/style.css" rel="stylesheet"/>
<link type="text/css" href="../css/admin.css" rel="stylesheet"/>
<script type="text/javascript" src="../js/jquery.js"></script>
<script src="../js/interface.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$("#search").val('搜索，就是这么简单').css('color','#6d6d6d');
	$("#search").focusin(function(){
		if($('#search').val() =='搜索，就是这么简单'){
			$('#search').val('').css('color','#000');
		}
	}).focusout(function(){
		if($('#search').val() ==''){
			$('#search').val('搜索，就是这么简单').css('color','#6d6d6d');
		}
	
	});
	
	$(".blog a").hover(function(){
		$(this).stop().animate({marginLeft:"8px"},400);
	},function(){
		$(this).stop().animate({marginLeft:"0px"},400);
	});	
});

</script>
</script>
<title>意见反馈</title>
</head>

<body>
<a rel="nofollow" href="feedback.php" class="w-fank">意见反馈</a>
<div id="main">
<?php require 'header.php';?>
	<div class="navmain">
		<img src="../images/content_top_wide.png" alt="" />
		<div class="feedback">
			<?php
				$sql = mysql_query("select * from feedback order by id desc");
				while($row = mysql_fetch_array($sql)){
			?>
				<p class="blog"><span><?php echo $row['id'];?></span> <a href="feedback.php?id=<?php echo $row['id'] ?>"><?php echo $row['title'] ?></a></p>
			<?php };?>
		</div>
		<img src="../images/content_bottom_wide.png" alt="" />
	</div><br />
	
	<?php
		if($_GET[id] !=""):
			$sql1 = mysql_query("select * from feedback where id=$_GET[id]");
			$row1 = mysql_fetch_array($sql1);
	?>
	<div class="navmain">
		<img src="../images/content_top_wide.png" alt="" />
		<div class="feedback">
			<p class="blog"><?php echo $row1['content'] ?></p>
		</div>
		<img src="../images/content_bottom_wide.png" alt="" />
	</div>
	<?php endif;?>
<?php require 'footer.php';?>
</div>
</body>
</html>
